package com.binhai.springboot.user.bean;

import java.io.Serializable;
import java.sql.Time;
import java.sql.Timestamp;

public class UserBean implements Serializable {
    private Integer id;

    private String name;

    private String pass;
    private String repass;

    public String getRepass() {
        return repass;
    }

    public void setRepass(String repass) {
        this.repass = repass;
    }

    private String beizhu;
    private Timestamp time;

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    private int[] orgids;
    private String orgNames;
    private String sorgids;
    private int[] roleids;
    private String roleNames;
    private String sroleids;

    private int[] postids;
    private String postNames;
    private String spostids;

    public int[] getPostids() {
        return postids;
    }

    public void setPostids(int[] postids) {
        this.postids = postids;
    }

    public String getPostNames() {
        return postNames;
    }

    public void setPostNames(String postNames) {
        this.postNames = postNames;
    }

    public String getSpostids() {
        return spostids;
    }

    public void setSpostids(String spostids) {
        this.spostids = spostids;
    }
    public int[] getRoleids() {
        return roleids;
    }

    public void setRoleids(int[] roleids) {
        this.roleids = roleids;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public String getSroleids() {
        return sroleids;
    }

    public void setSroleids(String sroleids) {
        this.sroleids = sroleids;
    }

    public String getOrgNames() {
        return orgNames;
    }

    public void setOrgNames(String orgNames) {
        this.orgNames = orgNames;
    }

    public String getSorgids() {
        return sorgids;
    }

    public void setSorgids(String sorgids) {
        this.sorgids = sorgids;
    }

    public int[] getOrgids() {
        return orgids;
    }

    public void setOrgids(int[] orgids) {
        this.orgids = orgids;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim ( );
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass == null ? null : pass.trim ( );
    }

    public String getBeizhu() {
        return beizhu;
    }

    public void setBeizhu(String beizhu) {
        this.beizhu = beizhu == null ? null : beizhu.trim ( );
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder ( );
        sb.append (getClass ( ).getSimpleName ( ));
        sb.append (" [");
        sb.append ("Hash = ").append (hashCode ( ));
        sb.append (", id=").append (id);
        sb.append (", name=").append (name);
        sb.append (", pass=").append (pass);
        sb.append (", beizhu=").append (beizhu);
        sb.append (", serialVersionUID=").append (serialVersionUID);
        sb.append ("]");
        return sb.toString ( );
    }
}